<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <script src="lib/vue.js"></script>
    </head>
</html>
<body>
    <h1>PropsData</h1>
    <header></header>
    <script type="text/javascript">
        var header_a = Vue.extend({
            template: `<p>{{message}}--{{a}}</p>`,
            data:function(){
                return{
                    message:'extend'
                }
            },
            props:['a']
        });
        new header_a({propsData:{a:12}}).$mount('header');
    </script>
</body>